<!--{template admin/header}-->
<body id="homepage">
    <div id="breadcrumb">
        <ul>
            <li><img src="static/img/icons/icon_breadcrumb.png" alt="Location" /></li>
            <li><strong>位置:</strong></li>
            <li><a href="admin.php">主页</a> - 商店管理</li>
        </ul>
    </div>
    <div id="rightside" >
        <div class="contentcontainer">
            <div class="headings altheading">
            	<h3><span class="nav_left">编辑{$goods_name}</span></h3>
			</div>
			<br/>			
				<div class="nav-category">
				  <form action="shop.php" method="get">
						<div class="input-prepend">
							<span class="add-on">id</span>
							<input class="span2" id="prependedInput" type="text" placeholder="id" name="id" value="{$detail['id']}">
						</div>
						<div class="input-prepend">
							<span class="add-on">分类</span>
							<select name="status" class="span2" >
								<option value="0"  $detail['status_css'][0]>上架</option>
								<option value="1"  $detail['status_css'][1]>下架</option>
							</select>
						</div>
						<div class="input-prepend">
							<span class="add-on">平台</span>
							<select name="platform" class="span2" >
								<option value="pinkdiaryandroid" $detail['platform_css'][0]>安卓</option>
								<option value="pinkdiaryios" $detail['platform_css'][1]>IOS</option>
								<option value="pinkdiaryproios" $detail['platform_css'][2]>IOS专业版</option>
							</select>
						</div>
						<div class="input-prepend">
							<span class="add-on">皮肤</span>
							<input class="span2" id="prependedInput" type="text" placeholder="对应皮肤id" name="pid" value="$detail['pid']">
						</div>
						<div class="input-prepend">
							<span class="add-on">大小</span>
							<input class="span2" id="prependedInput" type="text" placeholder="包大小" name="zip_size" value="$detail['zip_size']">
						</div>
						<div class="input-prepend">
							<span class="add-on">min</span>
							<input class="span2" id="prependedInput" type="text" placeholder="最小版本号" name="min_version" value="$detail['min_version']">
						</div>
						<div class="input-prepend">
							<span class="add-on">max</span>
							<input class="span2" id="prependedInput" type="text" placeholder="最大版本号" name="max_version" value="{$detail['max_version']}">
						</div>
						<div class="input-prepend">
							<span class="add-on">链接</span>
							<input class="span5" id="prependedInput" type="text" placeholder="包地址" name="zip_url" value="{$detail['zip_url']}">
						</div>
						<div class="control-group">
							<input type="hidden" name="ac" value="shopzip"/>
							<input type="hidden" name="op" value="edit{$goods}"/>
							<input type="hidden" name="id" value="{$detail[id]}"/>
							<button type="submit" class="btn">提交</button>
						</div>
				  	</form>
			   </div>
   		</div>
   </div>          
    <!--{template admin/leftside}-->
    <!--{template admin/footer}-->
   
   